<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <style>
    div {
      width: 100px;
      height: 100px;
      background-color: red;
    }
    span {
      width: 150px;
      height: 150px;
      background-color: green;
    }
    a {
      width: 80px;
      height: 20px;
      background-color: blue;
    }
  </style>
</head>
<body>
  <div>1</div>
  <div style="display: inline">1</div>
  <div style="display: inline-block">1</div>
  <span>2</span>
  <span style="display: block">2</span>
  <span style="display: inline-block">2</span>
  <a href="">3</a>
  <a href="" style="display: block">3</a>
  <a href="" style="display: inline">3</a>
</body>
</html>